<div class="block" id="block-tables">

                <div class="secondary-navigation">
                    <ul class="wat-cf">
                        <li class="first"><a href="pbcattbl">Listing</a></li>
                        <li class="{if $action_mode == 'create'}active{/if}"><a href="pbcattbl/create/">New record</a></li>
                    </ul>
                </div>

                <div class="content">
                    <div class="inner">
                        {if $action_mode == 'create'}
                            <h3>Add new record</h3>
                        {else}
                            <h3>Edit record: #{$record_id}</h3>
                        {/if}
                        {if isset($errors)}
                            <div class="flash">
                                <div class="message error">
                                    <p>{$errors}</p>
                                </div>
                            </div>
                        {/if}

                        <form class="form" method='post' action='pbcattbl/{$action_mode}/{if isset($record_id)}{$record_id}{/if}' enctype="multipart/form-data">

                            
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbt_tid}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbt_tid}{/if}" name="pbt_tid" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbt_ownr}<span class="error">*</span></label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbt_ownr}{/if}" name="pbt_ownr" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbd_fhgt}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbd_fhgt}{/if}" name="pbd_fhgt" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbd_fwgt}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbd_fwgt}{/if}" name="pbd_fwgt" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbd_fitl}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbd_fitl}{/if}" name="pbd_fitl" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbd_funl}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbd_funl}{/if}" name="pbd_funl" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbd_fchr}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbd_fchr}{/if}" name="pbd_fchr" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbd_fptc}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbd_fptc}{/if}" name="pbd_fptc" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbd_ffce}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbd_ffce}{/if}" name="pbd_ffce" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbh_fhgt}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbh_fhgt}{/if}" name="pbh_fhgt" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbh_fwgt}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbh_fwgt}{/if}" name="pbh_fwgt" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbh_fitl}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbh_fitl}{/if}" name="pbh_fitl" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbh_funl}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbh_funl}{/if}" name="pbh_funl" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbh_fchr}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbh_fchr}{/if}" name="pbh_fchr" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbh_fptc}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbh_fptc}{/if}" name="pbh_fptc" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbh_ffce}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbh_ffce}{/if}" name="pbh_ffce" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbl_fhgt}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbl_fhgt}{/if}" name="pbl_fhgt" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbl_fwgt}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbl_fwgt}{/if}" name="pbl_fwgt" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbl_fitl}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbl_fitl}{/if}" name="pbl_fitl" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbl_funl}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbl_funl}{/if}" name="pbl_funl" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbl_fchr}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbl_fchr}{/if}" name="pbl_fchr" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbl_fptc}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbl_fptc}{/if}" name="pbl_fptc" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbl_ffce}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbl_ffce}{/if}" name="pbl_ffce" />
    		</div>
    		
    	</div>
    
    	<div class="group">
            <label class="label">{$pbcattbl_fields.pbt_cmnt}</label>
    		<div>
    	       	<input class="text_field" type="text" maxlength="255" value="{if isset($pbcattbl_data)}{$pbcattbl_data.pbt_cmnt}{/if}" name="pbt_cmnt" />
    		</div>
    		
    	</div>
    

                            <div class="group navform wat-cf">
                                    <button class="button" type="submit">
                                        <img src="iscaffold/backend_skins/images/icons/tick.png" alt="Save"> Save
                                    </button>
                                    <span class="text_button_padding">or</span>
                                    <a class="text_button_padding link_button" href="javascript:window.history.back();">Cancel</a>
                            </div>
                        </form>
                    </div><!-- .inner -->
                </div><!-- .content -->
            </div><!-- .block -->
